package com.freesky.biz.rights.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.freesky.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

@Data
@TableName("tec_rights_white_user")
public class RightsWhiteUserEntity extends BaseEntity {
    @TableId
    private String id;

    @NotBlank(message = "业务ID不能为空")
    @Size(min = 1, max = 64, message = "业务ID的长度为0-64个字符")
    private String busiId;

    @NotBlank(message = "客户手机号码/ID不能为空")
    private String custId;

    @NotBlank(message = "客户类型：1、手机号码，2、客户编号")
    private String custType;

    private String delFlag;
}
